package com.wbsxch.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("blog")
public class Blog implements Serializable {

    private static final long serialVersionUID = -4599654942222770116L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String summary;
    private String content;
    @TableField("blog_type")
    private Integer blogType;
    private Integer status;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;

}
